finding area of a rectangle with variable